package com.zhiyou.dao;

import com.zhiyou.entity.Logistics;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface LogisticsMapper extends Mapper<Logistics> {
    //获取所有在职后勤人员信息
    List<Logistics> getAllLogistics();
    //根据姓名,手机号,性别 进行模糊查询
    List<Logistics> getLogisticsLikeAll(String likes);
    //新增后勤人员
    int addLogistics(Logistics logistics);
    //删除人员
    int deleteLogistics(Integer id);
    //获取修改信息展示界面
    List<Logistics> selectLogistics(Integer id);
    //修改操作
    int updateLogistics(Logistics logistics);
}